package cn.xiaopengstack.domain.strategy.service.rule.filter;

import cn.xiaopengstack.domain.strategy.model.entity.RuleActionEntity;
import cn.xiaopengstack.domain.strategy.model.entity.RuleMatterEntity;

/**
 * @author jiangyangang
 * 规则逻辑过滤接口
 */
public interface ILogicFilter<T extends RuleActionEntity.RaffleEntity> {

    /**
     * 规则过滤
     * @param ruleActionEntity 执行规则的因子
     * @return
     */
    RuleActionEntity<T> doFilter(RuleMatterEntity ruleActionEntity);
}
